import request from '@/utils/request'

export function homeNum(data) {
    return request({
        url: 'business/home/sum',
        method: 'get',
        data
    })
}

export function homeCustom(data) {
    return request({
        url: 'business/home/custom',
        method: 'get',
        data
    })
}

export function homeArea(data) {
    return request({
        url: 'business/home/area',
        method: 'get',
        data
    })
}

export function homeTop(data) {
    return request({
        url: 'business/home/top',
        method: 'get',
        data
    })
}

export function homeMonth(data) {
    return request({
        url: 'business/home/month',
        method: 'get',
        data
    })
}

export function homeRank(data) {
    return request({
        url: `business/home/rank/${data}`,
        method: 'get',
        data
    })
}

export function homeCity(data) {
    return request({
        url: `business/home/city`,
        method: 'get',
        data
    })
}